-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[WIP] [Draft] runtime-async Exception.ToString() #122722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Add new JIT-EE API to report back debug information about the generated state machine and continuations - Refactor debug info storage on VM side to be more easily extensible. The new format has either a thin or fat header. The fat header is used when we have either uninstrumented bounds, patchpoint info, rich debug info or async debug info, and stores the blob sizes of all of those components in addition to the bounds and vars. - Add new async debug information to the storage on the VM side - Set get target method desc for async resumption stubs, to be used for mapping from continuations back to the async IL function that it will resume.
…mental APIs in async tests
| #ifndef __exkind_h__ | ||
| #define __exkind_h__ | ||
|
|
||
| #include <cstdint> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #include <cstdint> | |
| #include <cstdint> | |
| #include <functional> |
fixes the linux build include ordering issue, but you can also add it to vm/common.h around line 60 as this header isn't using template.
| #ifndef __exkind_h__ | ||
| #define __exkind_h__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__ convention is for system headers. While we (incorrectly) use this convention in places, @janvorli has pointed out a few times that we should be using HAVE_<name> instead.
| #ifndef __exkind_h__ | |
| #define __exkind_h__ | |
| #ifndef HAVE_EXKIND_H | |
| #define HAVE_EXKIND_H |
| InstructionFaultFlag = 0x10 | ||
| }; | ||
|
|
||
| #endif // __exkind_h__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #endif // __exkind_h__ | |
| #endif // HAVE_EXKIND_H |
No description provided.